#ifndef _CALLBACKS_H_
#define _CALLBACKS_H_    1
#include <gtk/gtk.h>

gboolean
delete_event_handler(GtkWidget * widget, GdkEvent * event, gpointer data);
gboolean
destroy_handler(GtkWidget * widget, gpointer data);

void
add_action_callback (GtkWidget * widget, gpointer data);

void
remove_action_callback (GtkWidget * widget, gpointer data);

void exit_action_callback (GtkWidget * widget, gpointer data);

void
about_action_callback (GtkWidget * widget, gpointer data);

void
pause_resume_action_callback (GtkWidget *widget, gpointer data);

void
move_up_action_callback (GtkWidget *widget, gpointer data);

void
move_down_action_callback (GtkWidget *widget, gpointer data);

void
about_action_callback (GtkWidget *widget, gpointer data);

void
options_action_callback (GtkWidget * widget, gpointer data);

void
commit_pri_action_callback (GtkWidget *widget, gpointer data);

void
rollback_pri_action_callback (GtkWidget *widget, gpointer data);

void
torrents_view_popup_menu (GtkWidget *treeview, GdkEventButton *event, gpointer data);

void
icon_popup_menu(GtkStatusIcon * icon, guint button, guint time, gpointer data);

void
icon_activate(GtkStatusIcon * icon, gpointer data);

gboolean
torrents_view_on_button_pressed (GtkWidget *treeview, GdkEventButton *event, gpointer data);

gboolean
torrents_view_on_popup_menu (GtkWidget *treeview, gpointer data);

#endif
